package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Address;

import java.util.List;

public interface AddressService {
    PageResult findPage(QueryPageBean queryPageBean);

    void add(Address address);

    Address findById(Integer id);

    void edit(Address address);

    Integer delete(Integer id);

    //查询所有的体检机构地址信息
    List<Address> findAllAddress();


}
